package fight

import ()

const CMD_BYTES = 2

const (
	PT_CMD_LOGIN       uint16 = 2101
	PT_CMD_ALL_LOGINED uint16 = 2102
	PT_CMD_LOADING     uint16 = 2103
	PT_CMD_ALL_LOADED  uint16 = 2104
	PT_CMD_TIMELINE    uint16 = 2105
	PT_CMD_HEART_BEAT  uint16 = 2106
	PT_CMD_UPLOAD      uint16 = 2111
	PT_CMD_BROADCAST   uint16 = 2112
	PT_CMD_SETTLE      uint16 = 2114
)

const (
	FIGHT_FRAME_CMD_ID_NULL    = 0
	FIGHT_FRAME_CMD_ID_OFFLINE = 404
)

const (
	PT_ACK_RET_OK   = 1
	PT_ACK_RET_FAIL = 2
)

type GameProtocoler interface {
	NetProtocoler
	MsgerTyper
	NewRW() ReadWriter
}
